package business;

import java.util.List;

import vo.Paper;

public interface PaperService {

	List<Paper> getAll();

	void insert(Paper paper);

	void update(Paper paper);

	Paper getById(long paperId);

	List<Paper> getAll(int start, int pageSize);

	long getTotalCount();

	List<Paper> getAllByTitle(int start, int pageSize, String keyword);

	long getTotalCountByTitle(String keyword);

}
